package com.dailyblue.java.design.装饰者模式;

public class Student extends Person {
    private String name;

    public Student(String name) {
        super(name);
        this.name = name;
    }

    @Override
    public void action() {
        System.out.println(name + "正在疯狂的学习！");
    }
}
